package com.waitingresult.ljt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.waitingresult.common.base.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * All right reserved,Designed By WangShuai
 *
 * @author : WangShuai
 * @version : V1.0
 * @ClassName : Black
 * @Description : 黑名单
 * @date : 2021/11/23 23:41
 */
@ApiModel(value = "黑名单")
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "black")
public class Black extends BaseEntity {
    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private Long id;

    /**
     * 租户号
     */
    @TableField(value = "tenant_id")
    @ApiModelProperty(value = "租户号")
    private Long tenantId;

    /**
     * 线索人
     */
    @TableField(value = "user_id")
    @ApiModelProperty(value = "线索人")
    private Long userId;

    /**
     * 客户名称
     */
    @TableField(value = "`name`")
    @ApiModelProperty(value = "客户名称")
    private String name;

    /**
     * 手机号码
     */
    @TableField(value = "mobile")
    @ApiModelProperty(value = "手机号码")
    private String mobile;

    /**
     * 拉黑原因
     */
    @TableField(value = "reason")
    @ApiModelProperty(value = "拉黑原因")
    private String reason;

}